using System;
using System.Collections.Generic;
using System.Windows.Forms;
using JTest.DAO;
using JTest.DTO;
using JTest.GUI;


namespace JTest
{
    static class Program
    {
        /// <summary>
        /// The main entry point for the application.
        /// </summary>
        [STAThread]
        static void Main()
        {
            //PracticeLog de test luyen tap cu~
            PracticeLogDTO p = new PracticeLogDTO();
            p.SettingPractice.Level = 3;//N3
            p.SettingPractice.From = 1;//tu cau 1
            p.SettingPractice.To = 10;//den cau 10
            p.SettingPractice.Mode = 0;// kieu ra de : ngau nhien
            p.SettingPractice.Type = 1;//noi dung : tu vung
            p.Statistic[0] = 6;//so cau da lam : 6
            p.Statistic[1] = 3;//so cau 
            p.WrongAnswerIDs = new int[] { 3, 4, 8 };//ids cau cau tra loi sai
            p.Id = new int[] { 3, 4, 7 , 8, 9 , 10, 1 , 6 , 2 , 3};//ds ids cac cau hoi
            p.Answers = new int[] { 1, 2, 3, 4, 2, 3, -1, -1, -1, -1 };//for more info, read PraticeLogDTO + SettingPracticeDTO
            //end temp Practice Log

            //SettingPractice de test luyen tap moi
            SettingsPractiseDTO s = new SettingsPractiseDTO();
            s.Level = 3;//N3
            s.From = 100;//tu cau 100
            s.To = 150;//den cau 150
            s.Mode = 1;//kieu ra de: tuan tu
            s.Type = 1;//Noi dung : tu vung
            //end temp SettingPractice
                                   
            Application.EnableVisualStyles();
            Application.SetCompatibleTextRenderingDefault(false);
            Application.Run(new frmMain());
        }
    }
}